package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author YANG
 * @ClassName: TPurchaserPlaneTicketPoolEntity
 * @Description:
 * @date 2021-04-12
 */
@Data
@ApiModel(description = "航空运输电子客票行程单池")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_PLANE_TICKET_POOL)
public class PlaneTicketPoolEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("发票类型：23")
    @TableField("invoice_type")
    private String invoiceType;

    @ApiModelProperty("消费类型")
    @TableField("consume_kind")
    private String consumeKind;

    @ApiModelProperty("乘机人姓名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty("身份证号码")
    @TableField("ID_number")
    private String idNumber;

    @ApiModelProperty("电子客票号码")
    @TableField("ticket_no")
    private String ticketNo;

    @ApiModelProperty("验证码")
    @TableField("check_code")
    private String checkCode;

    @ApiModelProperty("填开日期")
    @TableField("ticket_date")
    private String ticketDate;

    @ApiModelProperty("销售单位代号")
    @TableField("agent_code")
    private String agentCode;

    @ApiModelProperty("填开单位")
    @TableField("issue_by")
    private String issueBy;

    @ApiModelProperty("票价")
    @TableField("ticket_price")
    private String ticketPrice;

    @ApiModelProperty("税费")
    @TableField("total_tax")
    private String totalTax;

    @ApiModelProperty("燃油附加费")
    @TableField("fuel_surcharge")
    private String fuelSurcharge;

    @ApiModelProperty("民航发展基金")
    @TableField("caac_development_fund")
    private String caacDevelopmentFund;

    @ApiModelProperty("保险费")
    @TableField("insurance")
    private String insurance;

    @ApiModelProperty("国内国际标签")
    @TableField("international_flag")
    private String internationalFlag;

    @ApiModelProperty("印刷序号")
    @TableField("print_serial_number")
    private String printSerialNumber;

    @ApiModelProperty("价税合计（大写）")
    @TableField("amount_big")
    private String amountBig;

    @ApiModelProperty("价税合计（小写）")
    @TableField("amount_small")
    private String amountSmall;

    @ApiModelProperty("影像ID")
    @TableField("image_id")
    private String imageId;

    @ApiModelProperty("报销状态 1 未报销 2 已报销")
    @TableField("reimbursement_status")
    private String reimbursementStatus;

    @ApiModelProperty("责任人")
    @TableField("person_liable")
    private String personLiable;

    @ApiModelProperty("采集人")
    @TableField("collector")
    private String collector;

    @ApiModelProperty("记账科目")
    @TableField("booking_account")
    private String bookingAccount;

    @ApiModelProperty("被授权人")
    @TableField("licensee")
    private String licensee;

    @ApiModelProperty("责任人ID")
    @TableField("person_liable_id")
    private String personLiableId;

    @ApiModelProperty("采集人ID")
    @TableField("collector_id")
    private String collectorId;

    @ApiModelProperty("被授权人ID")
    @TableField("licensee_id")
    private String licenseeId;

    @ApiModelProperty("审批记录编号")
    @TableField("record_no")
    private String recordNo;

    @TableField("create_time_str")
    private String createTimeStr;


}